
guests=`virsh list | grep run | awk '{print $2}'`
#guests=`virsh list | grep linux | tail -n 90 | awk '{print $2}'`

for guest in $guests
do
#virsh shutdown $guest
virsh destroy $guest
echo "shutdown $guest\n\n"
sleep 2

done
